Intersoft ClientUI Documentation
DelegateCommand<T> Constructor(Action<T>,Func<T,Boolean>,Boolean)



Constructor
Syntax
Public Function New( _
   ByVal executeMethod As Action(Of T), _
   ByVal canExecuteMethod As Func(Of T,Boolean), _
   ByVal isAutomaticRequeryDisabled As Boolean _
)
Dim executeMethod As Action(Of T)
Dim canExecuteMethod As Func(Of T,Boolean)
Dim isAutomaticRequeryDisabled As Boolean
 
Dim instance As New DelegateCommand(Of T)(executeMethod, canExecuteMethod, isAutomaticRequeryDisabled)
public DelegateCommand<T>( 
   Action<T> executeMethod,
   Func<T,bool> canExecuteMethod,
   bool isAutomaticRequeryDisabled
)
public:
DelegateCommand<T>( 
   Action<T^>^ executeMethod,
   Func<T^,bool>^ canExecuteMethod,
   bool isAutomaticRequeryDisabled
)

Parameters

executeMethod
canExecuteMethod
isAutomaticRequeryDisabled
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DelegateCommand<T> Class
DelegateCommand<T> Members
Overload List

Send Feedback